@charset "utf-8";
// 热门游戏
// 图片padding距离
@mixin img_padding {
    padding: 15px;
    a {
        display: block;
        img {
            border-radius: 10px;
        }
    }
}

#hot_game,
#princess {
    padding: 0 0 40px;
    h4 {
        float: left;
        margin: 0;
        padding: 25px 2px;
        width: 40px;
        height: 100px;
        text-align: center;
        font-size: 20px;
        color: #fff;
        background: url(../img/game/hot.jpg) no-repeat;
    }
    h2 {
        float: right;
    }
    .left_img {
        padding: 0;
    }
    .right_img {
        p {
            font-size: 12px;
            text-indent: 10px;
            text-align: right;
            color: #898989;
            line-height: 28px;
        }
        .game_detail_1 {
            @include img_padding();
        }
    }
}

// 上吧公主
#princess {
    h2 {
        float: left;
    }
    .right_img {
        p {
            text-align: left;
        }
    }
}

//更多案例
#more_example {
    padding: 40px 0;
    .game_detail_1 {
        text-align: center;
        @include img_padding();
        p {
            color: #2a2a2a;
            margin-top: 10px;
        }
    }
}

@media (min-width:280px) and (max-width:480px) {
    #hot_game,
    #princess,
    #more_example {
        .title {
            h4 {
                width: 30px;
                font-size: 14px;
                padding: 25px 4px;
                background-size: 30px 80px;
                word-wrap: break-word;
            }
            h2 {
                font-size: 18px;
            }
        }
        .right_img {
            p {
                line-height: 20px;
            }
        }
        .game_detail_1 {
            p {
                font-size: 12px;
            }
        }
    }
}

@media (min-width:481px) and (max-width:767px) {
    #hot_game,
    #princess,
    #more_example {
        .title {
            h4 {
                width: 35px;
                font-size: 18px;
                padding: 25px 4px;
                background-size: 35px 80px;
                word-wrap: break-word;
            }
            h2 {
                font-size: 24px;
            }
        }
        .right_img {
            p {
                line-height: 20px;
            }
        }
    }
}

@media (min-width:768px) and (max-width:992px) {}

@media (max-width:768px) {
    #hot_game,
    #princess {
        .right_img .game_detail_1 {
            text-align: center;
        }
    }
}

@media (max-width:668px) {
    #more_example,
    #princess,
    #hot_game {
        .game_detail_1 img {
            width: 100%;
        }
    }
}